package com.yuanheng100.asset.consts.person;

/**
 * 学历代码 根据：GB/T 4658-2006
 */
public enum EducationLevel
{
    POST_GRADUATE((short)10,"研究生教育"),

    UNDER_GRADUATE((short)20,"大学本科"),

    JUNIOR_COLLEGE((short)30,"专科教育"),

    SECONDARY_VOCATIONAL_EDUCATION((short)40,"中等职业教育"),

    SENIOR_HIGH_SCHOOL_EDUCATION((short)60,"普通高级中学教育"),

    JUNIOR_MIDDLE_SCHOOL_EDUCATION((short)70,"初级中学教育"),

    PRIMARY_EDUCATION((short)80,"小学教育"),

    OTHER((short)90,"其它");

    private Short code;

    private String name;

    private EducationLevel(Short code, String name)
    {
        this.code = code;
        this.name = name;
    }

    public Short getCode()
    {
        return code;
    }

    public void setCode(Short code)
    {
        this.code = code;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }
}
